Telephone apparatus with call forwarding arrangement

ABSTRACT

The automatic telephone answering apparatus of this invention is capable of connection to a plurality of telephone lines. The user registers in this apparatus the telephone number of a telephone equipment where the user will be staying (destination telephone number) and telephone numbers of desired calls. This apparatus detects the telephone number data indicative of the caller&#39;s telephone sent from an exchange. When the detected telephone number data agrees with the registered object telephone number, this apparatus automatically calls the telephone of the destination using the registered destination telephone number. If this automatic call succeeds, this apparatus connects the being called telephone line to the telephone line automatically called by the automatic telephone answering apparatus. Therefore, an important call is directly transferred to the user staying at another place, so that the user can directly communicate with the important caller. In addition, the frequency of response to the transferred calls is reduced because the transferred calls are limited to only calls from telephones whose telephone numbers have been registered previously.

This is a divisional of application Ser. No. 836,576, filed on Feb. 18,1992 now U.S. Pat. No. 5,289,528.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to an automatic telephone answering apparatususing the telephone number data of a caller sent from an exchange.

2. Description of the Prior Art

A system is known which sends a caller's telephone number to asubscriber's terminal together with a ring signal from an exchange.Therefore, the subscriber can know who is calling before his response.

Moreover, a telephone terminal is generally known which comprises aplurality of communication interface circuits for communicating with aplurality of telephone lines respectively. This telephone terminal canindividually communicate with each line.

Further, an automatic telephone answering apparatus is known which iscapable of transferring a message. This transferring function is asfollows:

The automatic telephone answering apparatus records an incoming message(ICM) received from a caller in the absence of the called subscriber oruser and then transfers the recorded message to a registered transferdestination by automatic dialing, reproducing, and sending the recordedmessage through the same telephone line. This function enables thecalled user to know who was called him and what the caller said at aplace where he is staying.

As mentioned above, the prior art automatic telephone answeringapparatus with the message transferring function records an incomingmessage from the caller when there is a call in the absence of thecalled user; calls a telephone of which a telephone number isregistered, that is, a destination telephone number, after recording ofthe caller's message; and then reproduces and sends the recordedincoming message to a telephone at the destination. This operation isperformed for each of the calls.

However, there is a problem that the telephone lines of the automatictelephone answering apparatus and the telephone of destination will bebusy if calls are relatively frequent because all massages aretransferred to the transfer destination. Moreover, because all messagesare sent to the destination where the user is staying, a message whichincludes no urgent matter will be also transferred. Thus, if the user isvery busy because of business, such indiscriminate transferring wouldinterfere with his business.

SUMMARY OF THE INVENTION

The present invention has been developed in order to remove theabove-described drawbacks inherent to the conventional automatictelephone answering apparatus.

The automatic telephone answering apparatus of this invention is capableof connection to a plurality of telephone lines. The user registers inthe automatic telephone answering apparatus a telephone number of atelephone equipment where the user will be staying (destinationtelephone number) and telephone numbers of desired calls. The automatictelephone answering apparatus detects telephone number data of thecaller sent from an exchange. When the detected telephone number dataagrees with the registered object telephone number, the automatictelephone answering apparatus automatically calls the destinationtelephone using the registered destination telephone number. Therefore,an important call is transferred to the user staying at another place,so that the user can directly communicate with the important caller. Inaddition, the frequency of response to the transferred calls is reducedbecause the transferred calls are limited to only calls from thosetelephones whose telephone numbers have been registered previously.

According to the present invention there is provided a first automatictelephone answering apparatus comprising: N communication interfacecircuits for communicating with N telephone lines, respectively, whereinN is a natural number and is more than one: a telephone number detectioncircuit for detecting telephone number data indicative of a caller'stelephone through one of N telephone lines; a first memory area forstoring a first telephone number; a second memory area for storing asecond telephone number; a comparing circuit for comparing the detectedtelephone number data with the first telephone number; a control circuitfor communicating with one other telephone line of N telephone lineswhen the telephone number data is agreed with the first telephonenumber; a dialing circuit for performing dialing using the secondtelephone number through one other telephone line; and a connectioncircuit for forming communication passage between one of N telephonelines and one other telephone line.

According to the present invention there is also provided a secondautomatic telephone answering apparatus as mentioned in the firstautomatic telephone answering apparatus, further comprising: a messagestoring circuit for storing a message; a busy signal detection circuitfor detecting a busy signal sent from the one other telephone line inresponse to the dialing by the dialing circuit; and a second controlcircuit for sending the message to the caller through one of N telephonelines.

According to the present invention there is further provided a thirdautomatic telephone answering apparatus as mentioned in the firstautomatic telephone answering apparatus, further comprising: a messagestoring circuit for storing a message; a fist detection circuit fordetecting a busy signal sent from the one other telephone line inresponse to the dialing by the dialing circuit; a second detectioncircuit for detecting a ring back signal sent from the one othertelephone line in response to the dialing by the dialing circuit; atimer responsive to the dialing for producing a delay signal whose delaytime is predetermined; a second control circuit responsive to the firstand second detection circuit and the delay signal for sending themessage to the caller through the one of N telephone lines when thefirst detection circuit does not detect the busy signal and the seconddetection circuit does not detect the ring back signal during the delaytime.

According to the present invention there is provided a fourth automatictelephone answering apparatus comprising: N telephone units forcommunicating with N telephone lines respectively wherein N is a naturalnumber and is more than one, each of the N telephone units having: acommunication interface circuit responsive to a communication controlsignal for communicating with one of the N telephone lines; a ringsignal detection circuit for detecting a ring signal from one of the Ntelephone lines; a telephone number detection circuit for detecting atelephone number data accompanied with the ring signal through one ofthe N telephone lines in response to detection of the detected ringsignal; a dialing circuit for dialing in response to a dialing controlsignal; a first memory area for storing a first telephone number; asecond memory area for storing a second telephone number; a comparingcircuit for comparing the detected telephone number data detected fromone of the N telephone lines by the telephone number detection circuitof one of the N telephone units with the first telephone number; acontrol circuit for communicating with one other telephone line of the Ntelephone lines using one other telephone unit of the N telephone unitsby producing the communication control signal and then producing thedialing control signal indicative of the second telephone number whenthe detected telephone number is agreed with the first telephone number;and a connection circuit for forming communication passage between oneof the N telephone lines and the one other telephone line.

According to the present invention there is also provided a fifthautomatic telephone answering apparatus as mentioned in the fourthautomatic telephone answering apparatus, wherein each telephone unitfurther comprises a termination detection circuit responsive to anoutput of the communication interface circuit of the same telephone unitfor detecting termination of communication of the communicationinterface circuit with the one of N telephone lines, the automatictelephone answering apparatus further comprising: a termination controlcircuit responsive to outputs of N termination detection circuit fordisconnecting the communication passage when either of the N terminationdetection circuit detects termination of communication.

BRIEF DESCRIPTION OF THE DRAWINGS

The object and features of the present invention will become morereadily apparent from the following detailed description taken inconjunction with the accompanying drawings in which:

FIG. 1 is a block diagram of the embodiment of this invention of anautomatic telephone answering apparatus;

FIGS. 2 and 3 show flow charts of this embodiment; and

FIG. 4 shows a connection condition of this embodiment of automatictelephone answering apparatus.

The same or corresponding elements or parts are designated as likereferences throughout the drawings.

DETAILED DESCRIPTION OF THE INVENTION

Hereinbelow will be described an embodiment of this invention. FIG. 1 isa block diagram of the embodiment of this invention of an automatictelephone answering apparatus. FIGS. 2 and 3 show flow charts of thisembodiment.

In FIG. 1, the automatic telephone answering apparatus 25 of thisembodiment is connected to telephone lines 1a and 1b. Therefore, it cancommunicate with telephone lines 1a and 1b individually. A ring signaldetection circuit 3a connected to the telephone line 1a detects a ringsignal to send a ring signal detection signal to a microprocessor 10(MPU) as control means. A telephone number detection circuit 4aconnected to the telephone line 1a detects telephone number data sentfrom an exchange together with the ring signal to send a detectedtelephone number data to the microprocessor 10. The telephone line 1a isalso connected to an well-known interface circuit 2a. The interfacecircuit 2a performs communication with the telephone line 1a in responseto a communication control signal 23a from the microprocessor 10. Theinterface circuit 2a sends a sound signal from the telephone line 1a toa line signal detection circuit 7a and to a recording/reproducing device8 through a receiving line via an amplifying circuit 13a in response tothe communication control signal 23a. In addition, it sends anothersound signal through a sending line 22a from, for example, therecording/reproducing device 8. The interface circuit 2a produces asignal indicative of termination of communication which is sent to atermination detection circuit 5a. The termination detection circuit 5adetects a termination of communication between the telephone line 1a andthe interface circuit 2a in response to the signal indicative oftermination.

A ring signal detection circuit 3b connected to the telephone line 1bdetects a ring signal to send a ring signal detection signal to themicroprocessor 10. A telephone number detection circuit 4b connected tothe telephone line 1b detects a telephone number data sent from anexchange together with the ring signal to send a detected telephonenumber data to the microprocessor 10. The telephone line 1b is alsoconnected to an well-known interface circuit 2b. The interface circuit2b performs communication with the telephone line 1b in response to acommunication control signal 23b from the microprocessor 10. Theinterface circuit 2b sends a sound signal from the telephone line 1b toa line signal detection circuit 7b and to a recording/reproducing device8 through a receiving line via an amplifying circuit 13b in response tothe communication control signal 23b. In addition, it sends anothersound signal through a sending line 22b from, for example, therecording/reproducing device 8. The interface circuit 2b produces asignal indicative of termination of communication which is sent to atermination detection circuit 5b. The termination detection circuit 5bdetects a termination of communication between the telephone line 1b andthe interface circuit 2b in response to the signal indicative oftermination.

The recording/reproducing device 8 comprises an incomingrecording/reproducing circuit (ICM recording circuit) 8a for recordingan incoming message from the interface circuit 2a in response to arecord control signal from the microprocessor 10 and an out-goingmessage (OGM) sending circuit 8b for sending a recorded out-goingmessage to the interface circuit 2a through the amplifying circuit 13ain response to an OGM reproduce control signal from the microprocessor10.

For example, each of the ICM recording circuit 8a and the OGM sendingcircuit 8b comprises a recording/reproducing circuit including an IC(integrated circuit) memory, namely a DRAM (dynamic read only memory),with an a/d converter and a d/a converter or a magnetic tape deck.

The ICM recording circuit 8a records an incoming message (ICM) from theinterface circuit 2b also in response to the recording control signalfrom the microprocessor 10. The OGM sending circuit 8b reproduces andsends a recorded out-going message (OGM) to the interface circuit 2balso through the amplifying circuit 13b in response to an OGM reproducecontrol signal from the microprocessor 10. The ICM recording circuit 8areproduces a recorded massage and sends it to the interface 2a or 2b inresponse to an ICM reproduce control signal from the microprocessor 10.The ICM recording circuit 8a can selectively record the sound signalfrom the interface circuits 2a or 2b in response to the ICM recordcontrol signal from the microprocessor 10. The OGM sending circuit 8bcan selectively send an out-going message to the interface circuits 2aor 2b in response to the OGM reproduce control signal from themicroprocessor 10.

A dialing circuit 6a sends a dialing signal to the interface 2a inresponse to a dialling control signal including telephone number datafrom the microprocessor 10. The line signal detection circuit 7a detectsa ring back signal or a busy signal sent from the telephone line 2a. Adialing circuit 6b sends a dialing signal to the interface 2b inresponse to a dialing control signal including telephone number datafrom the microprocessor 10. The line signal detection circuit 7b detectsa ring back signal or a busy signal sent from the telephone line 2b. Atimer circuit 9 measures a time interval in response to a start signalfrom the microprocessor 10 for measuring an interval of detection of thering back signal or the busy signal mentioned above.

The microprocessor 10 executes a stored program whose operation isrepresented by the flow charts shown in FIGS. 2 and 3. Themicroprocessor 10 includes a memory 10a therein. The memory 10a storesat least a telephone number of a person whose message is desired to betransferred (hereinafter referred to as an object telephone number) at amemory area 11a and a telephone number of a destination where a massageshould be transferred to (hereinafter referred to as a destinationtelephone number) at a memory area 11b. The user registers one or moretelephone numbers at the memory area 11a and a destination telephonenumber at the memory area 11b through operation of the operation circuit14.

An operation circuit 14 comprises keys for registering the objecttelephone numbers and the destination telephone number in the memory 10aand sending circuit (not shown) for sending data of the object telephonenumbers, the destination telephone number, and other command signals tothe microprocessor 10.

A switching circuit 12 comprises switches 12a and 12b. The switch 12aconnects the receiving line 21a where the sound signal is sent from theinterface 2a with the sending line 22b where the sound signal is sent tothe interface 2b. The switch 12b connects the receiving line 21b wherethe sound signal is sent from the interface 2b with the sending line 22awhere the sound signal is sent to the interface 2a. That is, theswitching circuit connects the telephone lines 1a and 1b to each other.

Hereinbelow will be described operation of this embodiment withreference to FIGS. 2 and 3.

The microprocessor 10 executes the stored program represented by flowcharts shown in FIGS. 2 and 3.

At first, the user registers a telephone number of a person whosemessage is desired to be transferred (hereinafter referred to as anobject telephone number) and a telephone number of a destination where amessage should be transferred to (hereinafter referred to as destinationtelephone number). The user registers one or more telephone numbers atthe memory area 11a and a destination telephone number at the memoryarea 11b through operation of the operation circuit 14.

In the automatic answering mode, when a ring signal comes from thetelephone line 1a or 1b, the ring signal detection circuit 3a or 3bdetects it and produces and sends a ring signal detection signal to themicroprocessor 10. In step S1 of the flow chart shown in FIG. 2, themicroprocessor 10 detects a call by checking the presence of the ringsignal detection signal from the ring signal detection circuit 3a or 3band detects which telephone lines 1a and 1b the ring signal is sentfrom, by checking which ring signal detection circuits 3a and 3b thering signal detection signal is sent. It is assumed here that the callcomes through the telephone line 1a. The telephone number detectioncircuit 4a detects telephone number data of an analog signal indicativeof the caller's telephone number which are sent for intervals betweentwo consecutive ring signals repeatedly sent. In the following step S2,the microprocessor 10 reads the telephone number data detected by thetelephone number detection circuit 4a. If the call comes through thetelephone line 1b, the microprocessor 10 detects the telephone numberusing the telephone number detected circuit 4b. In tills step S2, adecision is made as to whether the telephone number data is retrieved.If NO, processing proceeds to a step S51. If YES, processing proceeds toa step S3. In the succeeding step S3, the microprocessor 10 compares theobtained telephone number data with each of the registered destinationtelephone numbers stored in the memory 10a.

In the following step S4, a decision is made to determine whether thereis agreement of the registered destination telephone numbers with theobtained telephone number. If YES, processing proceeds to a step S5. Inthe step S5, the microprocessor 10 stores the obtained telephone numberin the memory 10a. In the following step S6, the microprocessor 10detects which telephone line 1a or 2b the call comes from. If the callcomes from the telephone line 1b, processing proceeds to step S29. Ifthe call comes from the telephone line 1a, processing proceeds to stepS7. As mentioned above, it is assumed that the call comes through thetelephone line 1a here.

In the step S7, the microprocessor 10 detects a status of anothertelephone line, that is, the telephone line 1b. That is, themicroprocessor 10 detects whether the telephone line 1b is used or not.For example, the microprocessor 10 detects whether a ring signal iscoming from the telephone line 1b and whether a loop current flowsthere. Up to tills step, the telephone line 1a has not beencommunicating with the automatic telephone answering apparatus 25.

If the telephone line 1b is not in use, processing proceeds to a stepS8. In the step S8, the microprocessor 10 sends the communicationcontrol signal 23b to the interface circuit 2b to communicate with thetelephone line 1b. In the following step S9, the microprocessor 10 readsthe destination telephone number stored at the memory 11b and sends itas part of a dialing control signal to the dialing circuit 6b. Thedialing circuit 6b sends the destination telephone number to thetelephone line 1b. In the following step S10, the microprocessor 10detects whether the dialing has finished. If NO, processing loops thesteps S9 and S10. If YES, that is, dialing has finished, processingproceeds to a step S11. Then, the microprocessor 10 detects a ring backsignal and a busy signal as follows:

In the step S11, the microprocessor 10 sets a given interval, forexample, 30 seconds to the timer 9 and starts it. In this embodiment,the interval necessary for detecting the ring back signal and the busysignal is assumed to be 30 seconds. The line signal detection circuit 7bdetects the ring back signal and the busy signal, and other linesignals, and the detected result is sent to the microprocessor 10. Inthe step S12, the microprocessor 10 checks the ring back signal and thebusy signal sent from the telephone line 1b. In the following step S13,a decision is made to determine whether or not the ring back signal ispresent. In the presence of the ring back signal, processing proceeds toa step S16.

In time step S16, the microprocessor 10 causes the switching circuit 12to form a communication passage between the telephone line 1a and thetelephone line 1b. That is, the switch 12a connects the receiving line21a of the telephone line 1a to the sending line 22b of the telephoneline 1b and the switch 12b connects the receiving line 21b of thetelephone line 1b to the sending line 22a of the telephone line 1a. Inthe following step S17, the microprocessor 10 causes the interfacecircuit 2a to communicate with the telephone line 1a. That is, thecommunication passage is completely formed. In steps S18 and S19, themicroprocessor 10 waits termination of communication between thetelephone lines 1a and 1b by checking outputs of termination detectioncircuit 5a and 5b. When the communication has finished, themicroprocessor 10 releases the telephone lines 1a and 1b by sendingcommunication control signals 23a and 23b to the interface circuits 2aand 2b.

FIG. 4 shows the condition mentioned above. It shows a connectioncondition of this embodiment of automatic telephone answering apparatus25. In FIG. 4, the caller calls the automatic telephone answeringapparatus 25 of this embodiment from a telephone 15. The automatictelephone answering apparatus 25 compares the registered objecttelephone numbers with the detected telephone number, that is, telephonenumber of the telephone 15. The automatic telephone answering apparatus25 does not communicate with the telephone 15 at this phase and callsthe registered destination telephone number of the telephone 16. Whencommunication of this automatic telephone answering apparatus 25 withthe telephone 16 through another telephone line 1b is established, theautomatic telephone answering apparatus 25 connects these telephone linewith each other by using the switch circuit 12.

In this state, the termination detection circuit 5a and 5b observe thetermination of communication between the automatic telephone answeringapparatus 25 and the telephone line 1a and between the apparatus 25 andthe telephone line 1b. As mentioned earlier, the microprocessor 10detects the termination of communication by detecting output signals ofthe termination detection circuits 5a and 5b in the following step S19.If termination of communication is not detected, processing loops thoughthe steps S18 and S19. When the microprocessor 10 detects termination ofeither telephone lines 1a and 1b, the microprocessor 10 controls theinterface circuit 2a and 2b to open both telephone lines 1a and 1b inthe step S20. Then, the microprocessor 10 controls the switch circuit 12to open the swatches 12a and 12b in the following step S21 as mentionedabove.

In the step S12, the Microprocessor 10 checks the busy signal. In thestep S14, the decision was made on whether the busy signal is present.If it is present, processing proceeds to the step S22 shown in FIG. 3.

In step S15, the microprocessor 10 checks the timer 9 and then, afterthirty seconds has passed, processing also proceeds to the step S22shown in FIG. 3. In the step S22, the microprocessor 10 controls theinterface circuit 2a to cause it to release the telephone line 1b. Inthe following step S23, the microprocessor 10 controls the interfacecircuit 2a to cause it to communicate with the telephone line 1a. In thefollowing steps S24 and S25, the microprocessor 10 controls the OGMsending circuit 8b to cause it to send a message to the caller throughthe telephone line 1a.

The out-going message was previously stored in the DRAM before thisautomatic answering mode is activated. In the following step S26, themicroprocessor 10 controls the ICM recording circuit 8a to record anincoming message from the caller. When the end of the recording of theincoming message is detected in the succeeding step S29, themicroprocessor 10 controls the interface circuit 2a to cause it torelease the telephone line 1a in the following step S28. Then processingreturns to the step S1.

As mentioned above, it is assumed the caller calls this automatictelephone answering apparatus 25 through the telephone line 1a. If thecaller calls the user through the telephone line 1b, similar operationis executed in step S7 to S28. That is, that when the caller calls theautomatic telephone answering apparatus 25 through the telephone line1b, processing proceeds from the step S1 to the step S6 and enters aroutine starting at a step S29. In the step S29, the microprocessor 10checks whether or not the telephone line 1a is in use. In this case, theautomatic telephone answering apparatus 25 has not communicated with thetelephone line called in response to the ring signal.

If the telephone line 1a is not in use, the microprocessor 10 controlsthe interface circuit 2a to cause it to communicate with the telephoneline 1a in the step S30. The microprocessor 10 reads out the destinationtelephone number stored in the memory 10a and sends it to the dialingcircuit 6a. The microprocessor 10 causes the dialing circuit 6a to senda dialing signal of the object telephone number to the telephone line 1ain step S31. In the following step S32, the microprocessor 10 detectsthe finish of the sending of the destination telephone number. If theend of the sending of the telephone number is detected, themicroprocessor 10 sets the timer 9 for the given interval, for example30 seconds, and starts the timer 9 in the Following step S33. When aring back signal is detected which should be sent through the telephoneline 1a by the line signal detection circuit 7a, the detected signal issent to the microprocessor 10. In a step S35, the microprocessor 10detects whether the detected signal is a ring back signal. If thedetected signal is the ring back signal, processing proceeds to stepS45.

In the step S45, the microprocessor 10 controls the switch circuit 12 tocause it to connect the called telephone line 1a to another telephoneline 1b. That is, the microprocessor 10 causes the switches 12a and 12bto be closed. In the following step S46, the microprocessor 10 controlsthe interface circuit 2b to cause it to communicate with the telephoneline 1b. Therefore, this establishes direct communication between thecaller on the side of the telephone line 1b and the called user on theside of the telephone line 1a. In the following step S47, themicroprocessor 10 observes the telephone lines 1a and 1b. In thesucceeding step S48, when the microprocessor 10 detects that either ofthe telephone lines 1a and 1b ends communication with tills automatictelephone answering apparatus 25, the microprocessor 10 controls theinterface circuit 2a and 2b to cause them to release both telephonelines 1a and 1b in a step S49. In the following step S50, themicroprocessor 10 controls the switch circuit 12 to cause it todisconnect the telephone line 1a from the telephone line 1b.

In the step S4 shown in FIG. 2, when the obtained telephone line doesnot agree with any object telephone numbers stored, processing proceedsto the step S51. In time step S51, the microprocessor 10 detects whichtelephone line is used to call the automatic telephone answeringapparatus 25. If the telephone 1a is used, processing proceeds to timestep S23 and the microprocessor 10 executes the conventional automaticanswering operation shown by steps S23 to S28 mentioned earlier. Thatis, the microprocessor 10 executes reproduction of the OGM and recordsan incoming message. If the telephone 1b is used, processing proceeds tothe step S39 and the microprocessor 10 executes the conventionalautomatic answering operation shown by steps S39 to S44. That is, themicroprocessor 10 executes reproduction of the OGM and records anincoming message.

In the step S39, the microprocessor 10 controls the interface circuit 2bto cause it to communicate with the telephone line 1b. In the followingsteps S40 and S41, the microprocessor 10 controls the OGM sendingcircuit 8b to cause it to send the recorded message, that is, out-goingmessage, to the caller through the telephone line 1b.

The out-going message was previously stored in the DRAM before theentering of this automatic answering mode. In the following step S42,the microprocessor 10 controls the ICM recording circuit 8a to record anincoming message from the caller. When completion of the recording ofthe incoming message is detected in the succeeding step S43, themicroprocessor 10 controls the interface circuit 2b to cause it torelease the telephone line 1b in the following step S44. Then processingreturn to the step S1.

As mentioned above, according to this embodiment, though the user isabsent, he can communicate with a specific person whose telephone numberhas been registered previously because a telephone number sent from thecaller is compared with the registered telephone number; when thetelephone number of the caller agrees with the registered telephonenumber the automatic telephone answering apparatus 25 calls thetelephone where the user are staying through another telephone line, itstelephone number being stored In the automatic telephone answeringapparatus 25 previously; and the automatic telephone answering apparatus25 connects both telephone lines with each other. Therefore, the callsof the telephone equipment of destination where the user is staying islimited, so that a total interval that the telephone line is occupied isreduced. In addition to this, the user can directly communicate with thecaller with which the user desires to communicate, by connecting bothtelephone lines with each other.

In the embodiment motioned above, the automatic telephone answeringapparatus 25 is connected to two telephone lines 1a and 1b. However,this embodiment can be applied to an automatic telephone answeringapparatus to which more than two telephone lines are connected. Suchautomatic telephone answering apparatus comprises: N telephone units forcommunicating with N telephone lines (such as telephone lines 1a and1b), respectively, wherein N is a natural number, each of N telephoneunits having: a communication interface circuit (1a, 1b) responsive to acommunication control signal for communicating with one of the Ntelephone lines; a ring signal detection circuit (3a, 3b) for detectinga ring signal from one of the N telephone lines; and a telephone numberdetection circuit (4a, 4b) for detecting a telephone number sent from acaller's telephone through one of N telephone lines in response todetection of the detected ring signal; a dialing circuit (6a, 6b) fordialing in response a dialing control signal; and a control circuitcomprising a microprocessor (10) for executing a stored program such asthe program mentioned in this embodiment.

The interval for detection of the ring back signal or the busy signalwas assumed to be thirty seconds which is set to the timer 9. However,the interval can be set to a given value.

What is claimed is:
 1. A telephone terminal apparatus comprising:(a) Ncommunication interface means for communicating with N telephone linesrespectively wherein N is a natural number and is more than one: (b)ring signal detection means for detecting a ring signal from one of saidN telephone lines; (c) telephone number detection means responsive tosaid ring signal detection means for detecting telephone number dataindicative of a caller's telephone accompanied with the ring signaldetected from said one of said N telephone lines; (d) first storingmeans for storing at least one first telephone number; (e) secondstoring means for storing at least one second telephone number; (f)comparing means for comparing said detected telephone number data withsaid at least one first telephone number; (g) control means forcommunicating with one other telephone line of said N telephone linesand producing a dialing control signal immediately when said detectedtelephone number data agrees with said at least one first telephonenumber; (h) dialing means for performing dialing using said at least onesecond telephone number through said one other telephone line inresponse to said dialing control signal; (i) connection means forforming communication passage between said one of said N telephone linesand said one other telephone line and for providing communicatingtherebetween in response to said control means; and (j) second controlmeans for connecting said one of said N telephone lines to saidtelephone terminal apparatus after said control means communicationswith said one other telephone line of said N telephone lines andproduces said dialing control signal.
 2. A telephone terminal apparatusas claimed in claim 1, further comprising:(a) message storing means forstoring a message to be played to the caller; (b) busy signal detectionmeans responsive to said dialing means for detecting a busy signal whichmay be sent from said one other telephone line in response to saiddialing by said dialing means; and (c) second control means forselectively sending said message to the caller through said one of Ntelephone lines when said busy signal detection means detects said busysignal.
 3. A telephone terminal apparatus as claimed in claim 1, furthercomprising:(a) message storing means for storing a message to be playedto the caller; (b) first detection means responsive to said dialing fordetecting a busy signal which may be sent from said one other telephoneline in response to said dialing by said dialing means; (c) seconddetection means for detecting a ring back signal sent from said oneother telephone line in response to said dialing by said dialing means;(d) timer means responsive to said dialing for producing a delay signalwhose delay time is predetermined; and (e) second control meansresponsive to said first and second detection means and said delaysignal for selectively sending said message to said caller through saidone of N telephone lines when the first detection means detects saidbusy signal during said delay time or when said second detection meansdoes not detect said ring back signal during said delay time.
 4. Atelephone terminal apparatus comprising:(a) N communication interfacemeans for communicating with N telephone lines respectively wherein N isa natural number and is more than one: (b) ring signal detection meansfor detecting a ring signal from one of said N telephone lines; (c)telephone number detection means responsive to said ring signaldetection means for detecting telephone number data indicative of acaller's telephone accompanied with the ring signal detected from saidone of said N telephone lines; (d) first storing means for storing atleast one first telephone number; (e) second means for storing at leastone second telephone number; (f) comparing means for comparing saiddetected telephone number data with said at least one first telephonenumber; (g) control means for communicating with one other telephoneline of said N telephone lines and producing a dialing control signalimmediately when said detected telephone number data agrees with said atleast one first telephone number; (h) dialing means for performingdialing using said at least one second telephone number through said oneother telephone line in response to said dialing control signal; (i)ring back signal detection means responsive to said dialing means fordetecting a ring back signal sent from said one other telephone line inresponse to said dialing by said dialing means; (j) connection means forforming communication passage between said one of said N telephone linesand said one other telephone line and for providing communicatingtherebetween when said ring back signal detection means detects saidring back signal; and (k) second control means for connecting said oneof said N telephone lines to said telephone terminal apparatus aftersaid control means communications with said one other telephone line ofsaid N telephone lines and produces said dialing control signal.
 5. Atelephone terminal apparatus as claimed in claim 4, furthercomprising:(a) message storing means for storing a message to be playedto the caller; (b) busy signal detection means responsive to saiddialing means for detecting a busy signal which may be sent from saidone other telephone line in response to said dialing by said dialingmeans; and (c) second control means for selectively sending said messageto the caller through said one of N telephone lines when said busysignal detection means detects said busy signal.
 6. A telephone terminalapparatus as claimed in claim 4, further comprising:(a) message storingmeans for storing a message to be played to the caller; (b) busy signaldetection means responsive to said dialing for detecting a busy signalwhich may be sent from said one other telephone line in response to saiddialing by said dialing means; (c) timer means responsive to saiddialing for producing a delay signal whose delay time is predetermined;and (d) second control means responsive to said ring back signaldetection means and said busy signal detection means and said delaysignal for selectively sending said message to said caller through saidone of N telephone lines when said busy signal detection means detectssaid busy signal during said delay time or when said ring back signaldetection means does not detect said ring back signal during said delaytime.